﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EverBuy.SocialNetworking.BusinessObjects;

namespace EverBuy.SocialNetworking.Data.Repository.Abstract
{
    public interface IPermissionRepository
    {
        void AddPermission(Account account, Permission permission);
        void DeletePermission(Permission permission);
        void SavePermission(Permission permission);
        List<Permission> GetPermissionById(Int32 permissionId);
        List<Permission> GetPermissionByName(string name);
        List<Permission> GetPermissionsByAccountID(Int32 accountId);
    }
}
